//
//  LeftTableviewCell.m
//  PurchasingMeeting
//
//  Created by yanseng.lin on 3/31/14.
//  Copyright (c) 2014 YX. All rights reserved.
//

#import "LeftTableviewCell.h"

@implementation LeftTableviewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        self.backgroundColor = [UIColor clearColor];
        self.title = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 80, 30)];
        self.title.backgroundColor = [UIColor clearColor];
        self.title.center = CGPointMake(60, 25);
        self.title.textColor = [UIColor blackColor];
        self.title.adjustsFontSizeToFitWidth = YES;
        [self addSubview:self.title];
        
        UIImage *img = [[UIHelper getInstance] getBundleImage:@"maintype1_director.png"];
        self.director = [[UIImageView alloc]initWithImage:img];
        self.director.frame = CGRectMake(0, 0, img.size.width, img.size.height);
        self.director.center = CGPointMake(110, 25);
        [self addSubview:self.director];
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
